#include <mysql/mysql.h>
#include <string>
#include <stdio.h>
//#define host "202.114.46.69"
#define host "122.204.142.63"

using namespace std;
struct tmysql{
 int tem;
 int humi;
 bool fire;
 bool light;
 bool infr;
 string stime;
};
int ins_data(tmysql tmy);
